WPPayForm\App\Modules\PaymentMethods\Stripe\StripeHostedHandler D

Total Complexity 132
Dependencies 19
Dependents 3
Total lines 961
Lines of code 735
Logical lines of code 402
Comment lines 39
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
redirectToStripe()
B
32 21 104
handleChargeCaptured()
B
31 18 118
getSubscriptionArgs()
B
36 18 82
handleCheckoutSessionSuccess()
B
35 13 95
getLineItems()
A
42 10 57
processRefundTransaction()
A
47 7 35
syncSubscription()
A
44 6 49
showSuccessMessage()
S
49 7 29
cancelSubscription()
S
48 4 37
markPaymentSuccess()
S
54 5 21
captureAuthorizedAmount()
S
53 5 21
maybeSetCancelAt()
S
54 5 20
markPaymentCancel()
S
56 3 18
showCancelMessage()
S
58 3 15
getIntentMetaData()
S
60 3 14
getCustomMetaData()
S
62 3 12
registerHooks()
S
65 1 8